{% extends "main.html" %}
{% autoescape None %}

{% block header %}<h1>小江南添加书籍</h1>{% end %}

{% block body %}
<form method="POST">
    书号: <input type="text" name="isbn"
        value="{{ book.get('isbn', '') }}"><br><br>
    书籍标题: <input type="text" name="title"
        value="{{ book.get('title', '') }}"><br><br>
    小标题: <input type="text" name="subtitle"
        value="{{ book.get('subtitle', '') }}"><br><br>
    书籍图片地址: <input type="text" name="image"
        value="{{ book.get('image', '') }}"><br><br>
    作者: <input type="text" name="author"
        value="{{ book.get('author', '') }}"><br><br>
    发布日期: <input type="text" name="date_released"
        value="{{ book.get('date_released', '') }}"><br><br>
    内容简介: <br>
    <textarea name="description" rows="5"
        cols="40">{% raw book.get('description', '')%}</textarea><br><br>
    <input type="submit" value="保存">
</form>
{% end %}

{% block footer %}
    <p>
<a href="https://www.baidu.com" target="_blank">联系小江南</a>.
    </p>
{% end %}